package tr.gen._3bit.java._2k1s.web.util.bean;

import java.util.List;

import tr.gen._3bit.java._2k1s.dao.model.Node;
import tr.gen._3bit.java._2k1s.dao.service.NodeService;
import tr.gen._3bit.java._2k1s.web.util.SpringApplicationContext;

public class Nodes {
	private NodeService getService() {
		return (NodeService) SpringApplicationContext.getBean("nodeService");
	}
	public List<Node> getList() {
		return getService().findAll();
	}
}
